home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2001 May / SGI Freeware 2001 May - Disc 3.iso / dist / fw_apache.idb / usr / freeware / apache / include / explain.h.z / explain.h
C/C++ Source or Header  |  2001-01-10  |  1KB  |  45 lines

  1.  
  2. #ifdef __cplusplus
  3. extern "C" {
  4. #endif
  5.  
  6. #ifndef EXPLAIN
  7. #define DEF_Explain
  8. #define Explain0(f)
  9. #define Explain1(f,a1)
  10. #define Explain2(f,a1,a2)
  11. #define Explain3(f,a1,a2,a3)
  12. #define Explain4(f,a1,a2,a3,a4)
  13. #define Explain5(f,a1,a2,a3,a4,a5)
  14. #define Explain6(f,a1,a2,a3,a4,a5,a6)
  15. #else
  16. #include "http_log.h"
  17. #define DEF_Explain
  18. #define Explain0(f) \
  19.         ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, NULL, \
  20.                     f)
  21. #define Explain1(f,a1) \
  22.         ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, NULL, \
  23.                     f,a1)
  24. #define Explain2(f,a1,a2) \
  25.         ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, NULL, \
  26.                     f,a1,a2)
  27. #define Explain3(f,a1,a2,a3) \
  28.         ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, NULL, \
  29.                     f,a1,a2,a3)
  30. #define Explain4(f,a1,a2,a3,a4) \
  31.         ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, NULL, \
  32.                     f,a1,a2,a3,a4)
  33. #define Explain5(f,a1,a2,a3,a4,a5)  \
  34.         ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, NULL, \
  35.                     f,a1,a2,a3,a4,a5)
  36. #define Explain6(f,a1,a2,a3,a4,a5,a6)   \
  37.         ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, NULL, \
  38.                     f,a1,a2,a3,a4,a5,a6)
  39.  
  40. #endif
  41.  
  42. #ifdef __cplusplus
  43. }
  44. #endif
  45.